package com.eastmelon.blog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller("backCotroller")
@RequestMapping("/back")
public class BackController {
	
	@RequestMapping("/index")
	public String backIndex() {
		return "back/index";
	}
	
	@RequestMapping("/test")
	public ModelAndView test() {
		ModelAndView ma=new ModelAndView();
		ma.addObject("sss", "sss");
		ma.setViewName("views/test");
		return ma;
	}
	
}
